package com.cpl.service.springmvcsample;

import com.cpl.dao.springmvcsample.IRegistrationDao;

public class RegistrationService implements IRegistartionService{

private	IRegistrationDao regdao;
	public boolean register(String name, String age) {
		regdao.addCustomer(name, age);
		return false;
	}
	public void setRegdao(IRegistrationDao regdao) {
		this.regdao = regdao;
	}

}
